package com.oscar.ehome.view.pageview.view;

import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.TextView;

import com.oscar.ehome.R;
import com.oscar.ehome.base.fragment.BaseFragment;
import com.oscar.ehome.presenter.BasePresenter;

import butterknife.BindView;
import butterknife.ButterKnife;

/**
 * Created by juxing
 * author: MengWanhe
 * date: On 2017/9/19
 * 小课堂详细介绍
 */

public class ClassRoomContentFragment extends BaseFragment {

    @BindView(R.id.classroomvideo_text)
    TextView classroomvideoText;

    private View view;

    String content = "";

    @Override
    public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
        view = inflater.inflate(R.layout.fragment_classroomcontent, null);
        ButterKnife.bind(this, view);
        initData();
        return view;
    }

    @Override
    protected BasePresenter createPresenter() {
        return null;
    }

    public void initData() {
        content = getActivity().getIntent().getStringExtra("content");
        classroomvideoText.setText(content);
    }


}
